import {defineComponent, h, PropType, ref, watchEffect} from 'vue';

// https://blog.csdn.net/aaaaapipi/article/details/127438708

export default defineComponent({
  name: 'FxTable',
  inheritAttrs: false,
  props: {
    // 类名称
    class: {
      type: [String, Array, Object] as PropType<any>
    },
    // 样式
    style: {
      type: [String, Array, Object] as PropType<any>
    }
  },
  emits: [],
  setup(props, context) {
    const viewClass = ref();

    watchEffect(() => {
    });

    return () => {
      return h('div', {class: viewClass.value, style: props.style}, [
        h('table', {}, [])
      ]);
    };
  }
});